package com.sparrow.netty.bean;

import com.alibaba.fastjson.JSONObject;
import com.sparrow.bean.Message;


/**
 * Created by wancheng on 2019/3/12.
 */

public class Config {

    private String address;

    private Integer port;

    public static void main(String[] args){
        String ss = "{\"lessonId\":\"1\",\"option\":\"REGISTER\",\"role\":\"TEACHER\",\"name\":\"王小样\",\"account\":\"123\",\"message\":\"巴拉巴拉\"}";
        Message message = JSONObject.parseObject(ss,Message.class);
        System.out.print("ss");
    }

}
